#pragma once
#include "DXDevice.h"
#include "COLOR.h"
class Surface
{
private:
	COLOR* cl;
	LPDIRECT3DSURFACE9 back_buffer;
	LPDIRECT3DSURFACE9 suface;
	RECT rect;
public:
	Surface(void);
	Surface(LPDIRECT3DDEVICE9 dv);
	~Surface(void);
	void Create_suface(LPDIRECT3DDEVICE9);
	void Create_back_buffer(LPDIRECT3DDEVICE9);
	void Draw_rect(LPDIRECT3DDEVICE9);
	void Set_rect(int,int,int,int);
};

